package com.consul.feign.fallback;

import com.consul.feign.FeignService;
import com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy;
import org.springframework.stereotype.Component;

/**
 * @author zhangbowen
 * @date 2019/4/8
 **/
@Component
public class FeignFallbackImpl implements FeignService {
    @Override
    public String get() {
        throw new RuntimeException("运行时异常");
        //return "哈哈";
    }

  /*  @Override
    public String get(Integer type) {
        throw new RuntimeException("运行时异常");
    }*/
/* @Override
    public String get(A a) {
        throw new RuntimeException("运行时异常");
    }*/
}
